/**      
 * @file		dataTypes.cpp
 * @description		This file demostrates the use of different
 *			data types, how they are initialized and output
 *			to the screen.
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 3
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include <string>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	// notice that all variable declarations are 
	// on separate lines
	int	imAnInt			= 34534;
	double	imADouble		= 2e-44;
	double  imAlsoADouble		= 3.33;
	float	imAFloat		= 3.33f;
	float	imAFloat2		= 33.33e-2F;	// without the 'f' the compiler 
							// identifies the number as a double
	char	imAChar			= 'B';
	string	imAString		= "Here I am! I'm not a character";
	string  imAString2		= "B";

	cout << "imAnInt " << imAnInt << endl;
	cout << "imADouble " << imADouble << endl;
	cout << "imAlsoADouble " << imAlsoADouble << endl;
	cout << "imAFloat " << imAFloat << endl;
	cout << "imAFloat2 " << imAFloat2 << endl;

	cout << "imAChar " << imAChar << endl;
	cout << "imAString " << imAString << endl;
	cout << "imAString2 " << imAString2 << endl;

	// modifying strings
	cout << "Let's change the value for the first string.\n";
	cin >> imAString;
	cout << "I'm the new value " << imAString << endl;

	cout << "Let's change the value for the second string.\n";
	cin >> imAString2;
	cout << "I'm the new value " << imAString2 << endl;

	cout << "Let's change the value for the character var.\n";
	cin >> imAChar;
	cout << "I'm the new value " << imAChar << endl;

	return 0;
}
